<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        table {border-collapse: collapse; font-size: 14px; width: 80%; margin: auto}
        table, th, td {border: 1px solid darkslategray;padding: 10px}
    </style>
</head>
<body>
<a th:href="@{/product/findAll}">返回</a>
<form th:action="@{/product/product}" method="post">
    <input type="hidden" name="id" th:value="${dome.id}">
    <table class="list">
    <tr>
        <td>商品名称</td>
        <td th:text="${dome.name}"></td>
    </tr>
    <tr>
        <td>商品价格</td>
        <td th:text="${dome.jg}+'￥'"></td>
    </tr>
    <tr>
        <td>商品日期</td>
        <td th:text="${#dates.format(dome.birthday,'yyyy-MM-dd')}"></td>
    </tr>
        <tr>
            <td>商品状态</td>
            <td th:text="${dome.status}"></td>
        </tr>
    <tr>
        <td>维护失败原因</td>
        <td><textarea name="yy" cols="100" rows="6" ></textarea></td>
    </tr>
</table>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>
